import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '@/pages/Home'
import About from '@/pages/About'

Vue.use(VueRouter)

export default new VueRouter({
    routes: [
        { name: 'home', path: '/home', components: Home },
        { path: 'about', path: '/about', components: About },
    ]
})